package com.sneaker.shower.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class BaseDomain implements Serializable {
    private Integer id;

    @TableId(value = "guid", type = IdType.INPUT)
    private Long guid;
    @TableLogic
    private Byte delFlag;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;
}
